home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 2
/
Aminet AMIGA CDROM (1994)(Walnut Creek)[Feb 1994][W.O. 44790-1].iso
/
Aminet
/
comm
/
bbs
/
xbj18.lha
/
xbj.doc
< prev
Wrap
Text File
|
1993-03-06
|
6KB
|
164 lines
Al's Blackjack Casino
Version 1.7
(formerly Al's Xeno Casino)
(formerly Xenolink Blackjack)
Alan Bland CYBERMIGA!
442 Seven Hills Drive (303)939-9923
Boulder, CO 80302 USA 1:104/121
Copyright (c) 1993 by Alan Bland, All Rights Reserved
XBJ is freely distributable as long as the program is
not modified in any way, and the copyright notice when
the program starts remains intact.
WHAT IS IT?
-----------
Al's Blackjack Casino (XBJ) is a Blackjack game door for Amiga BBS
systems. It was originally written as a Xenolink-specific game, but
was later changed to use the standard CLI protocol used by nearly
every BBS program on the Amiga. Al's Blackjack Casino has worked on
DLG, Xenolink, Transamiga, CNet, and probably others that I have not
heard about.
I currently run DLG and do all my testing with DLG, so I cannot make
any guarantees that it will work with any other BBS program.
Al's Blackjack Casino plays a basic one-player Blackjack game, uses
ANSI color graphics, and maintains a high-score file so your BBS users
can compete against each other for the number one spot! The high
scores are reset at the beginning of every month, so it's easy to run
monthly contests among your users.
Al's Blackjack Casino is freeware. Install it on your BBS and let
your users have fun. If you like this program, I'd appreciate hearing
your comments.
UPGRADING FROM PREVIOUS VERSIONS
--------------------------------
This version of Al's Blackjack Casino has many new options. You
should read this file in its entirety to determine how you want to
customize the casino. However, you need not do any customization.
XBJ will choose reasonable defaults for you. Your current user's
scores will be preserved when you run this version.
INSTALLATION FOR DLG
--------------------
Create a directory named DOORS:XBJ and copy the XBJ executable file
there. Use the following menu entry:
Executable: doors:xbj/xbj -u "%NAME" -p %PORT
Description: Al's Blackjack Casino
Type: Executable
Load type: Overlay
Pend messages: Yes
Cli mode: No
The %PORT option is used primarily for DLG to determine if it is
running locally (TLx) or remotely (TRx). The local DLG port has
trouble displaying certain ANSI graphics, so %PORT is used to display
alternate characters so that DLG sysops can conveniently play the game
from the local port. %PORT is also required if you want XJB to show
DLG system messages during the game.
INSTALLATION FOR XENOLINK Z3a
-----------------------------
Create a directory named DOORS:XBJ and copy the XBJ executable file
there. Add a menu selection to invoke XBJ using the following
command:
XenolinkDoor "^8000^3^xbj/xbj"
The "3" in the command is the number of nodes allowed to run XBJ at
the same time. Set that to be the number of nodes you run on your
BBS. If you are running Xenolink Z4, you may want to run it as a
standard CLI door.
INSTALLATION FOR OTHER BBS PROGRAMS
-----------------------------------
Other BBS programs should run XBJ as a standard CLI door, passing the
-u parameter specifying the user's name. The -p parameter is needed
only for DLG and need not be specified for other BBS programs. A
stack size of 8000 is recommended.
CONFIGURATION FILE
------------------
XBJ now reads a configuration file, DOORS:XBJ/XBJ.CFG. An example
configuration file is provided. You should edit the example
configuration file to customize XBJ to your needs.
The configuration file consists of keywords and values. You may
specify the keywords in any order, and you may mix upper and lower
case letters. Lines beginning with a ";" are ignored.
If you do not install the XBJ.CFG file, reasonable defaults will be
used.
See the comments in the supplied XBJ.CFG file for all the possible
configuration options.
MONTHLY SCORE FILES
-------------------
The user scores now get reset the first time the game is played each
month. The files listed below are maintained by XBJ in the DOORS:XBJ
directory. Normally XBJ will handle these files automatically; you
should never have to do anything with them.
xbj.users This contains the current month's scores and other
per-user information. Delete this file if you want
to reset the scores.
xbj.users.last This contains last month's per-user data. It's not
really used, but is kept around in case you need to
restore it.
month.file This file controls when XBJ decides to begin a new
month. You only need to worry about this file if
you manage to mess up the date on your Amiga, or if
nobody plays XBJ for more than a month. This file
contains the month number (0-11) when XBJ last wrote
the score files. XBJ will switch to a new month
when the current month is different from this value.
HOWEVER, IF XBJ DETECTS THAT THE MONTH HAS SKIPPED
BY MORE THAN A SINGLE MONTH, IT WILL DISPLAY AN
ERROR AND WILL NOT UPDATE THE SCORES. This protects
you from hosing your scores if your Amiga's clock
goes bonkers. You can delete this file, whereupon
XBJ will assume the current month is correct. You
can also edit the value in this file to fix it, but
that's not recommended.
The high scores are also maintained as text files that you can display
as bulletins. XBJ can optionally create these files as plain ASCII,
16-color ANSI, or using DLG ANSI codes. See the XBJ.CFG file for
details.
CARRIER LOSS AND MULTIPLE NODES
-------------------------------
Just so you know, XBJ detects carrier loss and updates the user's
score and daily time used. There's no way to avoid the daily time
limit, or to abort a bad gaming session without updating the score
file. The score files are locked to prevent multiple nodes from
clobbering each other, so you can run as many simultaneous copies of
XBJ you wish.